﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
	public abstract class AjaxView : PartialTemplate
	{
		protected object RawModel { get; set; }
		public void SetRawModel(object rawModel)
		{
			this.RawModel = rawModel;
		}
		protected T Model<T>()
		{
			return (T)this.RawModel;
		}
		protected bool IsModelNull
		{
			get
			{
				return null == this.RawModel;
			}
		}
	}

